package com.ruoyi.iot.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备运行数据信息对象 fac_devices_rundata
 * 
 * @author rww
 * @date 2024-06-24
 */
public class FacDevicesRundata extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 数据获取方式 */
    @Excel(name = "数据获取方式")
    private String dataMode;

    /** 数据获取频率 */
    @Excel(name = "数据获取频率")
    private String dataRate;

    /** 是否分表 */
    @Excel(name = "是否分表")
    private String isSplit;

    /** 用户名 */
    @Excel(name = "用户名")
    private String uName;

    /** 密码 */
    @Excel(name = "密码")
    private String uPassword;

    /** token值 */
    @Excel(name = "token值")
    private String uToken;

    /** 地址 */
    @Excel(name = "地址")
    private String uUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDataMode(String dataMode) 
    {
        this.dataMode = dataMode;
    }

    public String getDataMode() 
    {
        return dataMode;
    }
    public void setDataRate(String dataRate) 
    {
        this.dataRate = dataRate;
    }

    public String getDataRate() 
    {
        return dataRate;
    }
    public void setIsSplit(String isSplit) 
    {
        this.isSplit = isSplit;
    }

    public String getIsSplit() 
    {
        return isSplit;
    }
    public void setuName(String uName) 
    {
        this.uName = uName;
    }

    public String getuName() 
    {
        return uName;
    }
    public void setuPassword(String uPassword) 
    {
        this.uPassword = uPassword;
    }

    public String getuPassword() 
    {
        return uPassword;
    }
    public void setuToken(String uToken) 
    {
        this.uToken = uToken;
    }

    public String getuToken() 
    {
        return uToken;
    }
    public void setuUrl(String uUrl) 
    {
        this.uUrl = uUrl;
    }

    public String getuUrl() 
    {
        return uUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("dataMode", getDataMode())
            .append("dataRate", getDataRate())
            .append("isSplit", getIsSplit())
            .append("uName", getuName())
            .append("uPassword", getuPassword())
            .append("uToken", getuToken())
            .append("uUrl", getuUrl())
            .toString();
    }
}
